/*
 * Copyright (c) 2007 Norman Brandinger <norm@goes.com>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */

/*
 * Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
 * From ASN.1 module "IAS-LAES-CmII-Abstract-Syntax-Module"
 * 	found in "IAS-LAES-CmII-Abstract-Syntax-Module.asn"
 * 	`asn1c -funnamed-unions -findirect-choice -fbless-SIZE -fcompound-names -fnative-types`
 */

#ifndef	_IasMessage_H_
#define	_IasMessage_H_


#include <asn_application.h>

/* Including external dependencies */
#include <constr_CHOICE.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Dependencies */
typedef enum IasMessage_PR {
	IasMessage_PR_NOTHING,	/* No components present */
	IasMessage_PR_access_Attempt,
	IasMessage_PR_access_Accepted,
	IasMessage_PR_access_Failed,
	IasMessage_PR_access_Session_End,
	IasMessage_PR_access_Rejected,
	IasMessage_PR_access_Signaling_Message_Report,
	IasMessage_PR_session_Start,
	IasMessage_PR_session_Failed,
	IasMessage_PR_session_End,
	IasMessage_PR_session_Already_Established,
	IasMessage_PR_data_Header_Report,
	IasMessage_PR_data_Summary_Report
} IasMessage_PR;

/* Forward declarations */
struct Access_Attempt;
struct Access_Accepted;
struct Access_Failed;
struct Access_Session_End;
struct Access_Rejected;
struct Access_Signaling_Message_Report;
struct Packet_Data_Session_Start;
struct Packet_Data_Session_Failed;
struct Packet_Data_Session_End;
struct Packet_Data_Session_Already_Established;
struct Packet_Data_Header_Report;
struct Packet_Data_Summary_Report;

/* IasMessage */
typedef struct IasMessage {
	IasMessage_PR present;
	union {
		struct Access_Attempt	*access_Attempt;
		struct Access_Accepted	*access_Accepted;
		struct Access_Failed	*access_Failed;
		struct Access_Session_End	*access_Session_End;
		struct Access_Rejected	*access_Rejected;
		struct Access_Signaling_Message_Report	*access_Signaling_Message_Report;
		struct Packet_Data_Session_Start	*session_Start;
		struct Packet_Data_Session_Failed	*session_Failed;
		struct Packet_Data_Session_End	*session_End;
		struct Packet_Data_Session_Already_Established	*session_Already_Established;
		struct Packet_Data_Header_Report	*data_Header_Report;
		struct Packet_Data_Summary_Report	*data_Summary_Report;
	};
	
	/* Context for parsing across buffer boundaries */
	asn_struct_ctx_t _asn_ctx;
} IasMessage_t;

/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_IasMessage;

#ifdef __cplusplus
}
#endif

/* Referred external types */
#include "Access-Attempt.h"
#include "Access-Accepted.h"
#include "Access-Failed.h"
#include "Access-Session-End.h"
#include "Access-Rejected.h"
#include "Access-Signaling-Message-Report.h"
#include "Packet-Data-Session-Start.h"
#include "Packet-Data-Session-Failed.h"
#include "Packet-Data-Session-End.h"
#include "Packet-Data-Session-Already-Established.h"
#include "Packet-Data-Header-Report.h"
#include "Packet-Data-Summary-Report.h"

#endif	/* _IasMessage_H_ */
